//
//  DefaultSubscription.h
//  QiYReader
//
//  Created by 奇阅科技 on 15/3/2.
//  Copyright (c) 2015年 奇阅科技. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "PayWebView.h"
@class Book;
@interface DefaultSubscription : PayWebView
//默认订阅过程封装，支持多章订阅
//默认先清除[AppDelegate delegate].window上的MBProgressHUD
@property (nonatomic,strong)Book *book;
@property (nonatomic,strong)NSArray *chapterIds;//{123456,123456}如果是单章节则两个元素一样
@property (nonatomic, copy) void(^succeedSubscription)(void);
@property (nonatomic, copy) void(^failSubscription)(void);
@property (nonatomic, copy) void(^cancelSubscription)(void);
-(void)beginVerificationReadPermissionsSucceed:(void(^)(void))succeedRefresh Fail:(void(^)(void))failRefresh Cancel:(void(^)(void))cancelRefresh;
@end
